const express = require('express')

const router = express.Router()

router.get('/',(req,res)=>{
    res.send({
        msg:"router get /"
    })
})

router.get('/home',(req,res)=>{
    res.send({
        msg:"router get /home"
    })
})

router.post('/',(req,res)=>{
    res.send({
        msg:"router post /"
    })
})

router.post('/home',(req,res)=>{
    res.send({
        msg:"router post /home"
    })
})

module.exports=router